#ifndef GAMESCORE_H
#define GAMESCORE_H

#include <QGraphicsScene>
#include <QGraphicsTextItem>

class GameScore : public QGraphicsScene
{
    Q_OBJECT
public:
    explicit GameScore(int score, QObject *parent = nullptr);

signals:
    void restartGame();
    void returnToMenu();

protected:
    void keyPressEvent(QKeyEvent *event) override;

private:
    void setupScoreScreen(int score);
};

#endif // GAMESCORE_H
